﻿using System;
using System.Collections.Generic;
using System.Text;
using Model;

namespace IHotelDal
{

    public interface IRecreationsDALs
    {
        /// <summary>
        /// 显示娱乐列表
        /// </summary>
        /// <returns></returns>
        List<Recreation> RecreationShow();
        /// <summary>
        /// 显示娱乐项目表
        /// </summary>
        /// <returns></returns>
        List<Amusement> AmusementShow();
        /// <summary>
        /// 删除上架娱乐信息
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        int Del(int id);
        /// <summary>
        /// 添加项目
        /// </summary>
        /// <param name="m"></param>
        /// <returns></returns>
        int AddAmusement(Amusement m);
        /// <summary>
        /// 获取id
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Recreationlist Find(int id);
        /// <summary>
        /// 修改
        /// </summary>
        /// <param name="m"></param>
        /// <returns></returns>
        int UptRecreation(Recreationlist m);
        /// <summary>
        /// 添加
        /// </summary>
        /// <param name="m"></param>
        /// <returns></returns>
        int AddRecren(Recreationlist m);
        /// <summary>
        /// 删除娱乐项目
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        int Delam(int id);
    }
}
